<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--border=1设置一个像素的边框-->
<table border="1">
    <!--tr:table row表示行-->
    <tr>
      <!--td:table data表格数据(表示列)-->
      <!--colspan:跨列-->
      <!--rowspan:跨行-->
      <td colspan="2" align="center">1-1</td>
      <td rowspan="3">1-3</td>
      <td>1-4</td>
    </tr>
    <tr>
      <td>2-1</td>
      <td>2-2</td>
      <td>2-4</td>
    </tr>
    <tr>
      <td>3-1</td>
      <td>3-2</td>
      <td>3-4</td>
    </tr>

</table>

<table border="1">
  <!--tr:table row表示行-->
  <tr>
    <td colspan="2">1-1</td>
    <td rowspan="2">1-3</td>
  </tr>
  <tr>
    <td rowspan="2">2-1</td>
    <td>2-2</td>
  </tr>
  <tr>
    <td colspan="2">3-2</td>
  </tr>

</table>

<table border="1">
  <caption>购物车</caption><!--表格标题-->
  <tr><!--table head表头:加粗并居中-->
    <th>编号</th>
    <th>商品名</th>
    <th>价格</th>
  </tr>
  <tr>
    <td align="center">1</td>
    <td>耐克篮球鞋</td>
    <td>1000</td>
  </tr>
  <tr>
    <td align="center">2</td>
    <td>李宁跑鞋</td>
    <td>100</td>
  </tr>
</table>
</body>
</html>